package com.tsmti.lab.controller.system;

import com.tsmti.core.common.controller.BaseCrudController;
import com.tsmti.shiro.annotation.RequiresPathPermission;
import com.tsmti.system.entity.NoticeInfo;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by  on 2018/7/18.
 * @author zjn
 */
@Controller
@RequestMapping("/system/notice")
@RequiresPathPermission("system:notice")
public class NoticeInfoController extends BaseCrudController<NoticeInfo, Long> {

    @Override
    public String showCreate(NoticeInfo noticeInfo, Model model, HttpServletRequest request, HttpServletResponse response) {
        return display("create");
    }
}
